﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Spider.Entity
{
    public class UriConfig
    {
        /// <summary>
        /// uri入口
        /// </summary>
        public string Uri
        {
            get;
            set;
        }

        /// <summary>
        /// Parser Name
        /// </summary>
        public string Parser
        {
            get;
            set;
        }

        /// <summary>
        /// 分页uri
        /// </summary>
        public string PageUri
        {
            get;
            set;
        }

        /// <summary>
        /// 起始页
        /// </summary>
        public int PageIndex
        {
            get;
            set;
        }

        /// <summary>
        /// 需要爬的页数
        /// </summary>
        public int PageCount
        {
            get;
            set;
        }

        /// <summary>
        /// 匹配规则
        /// </summary>
        public string Rule
        {
            get;
            set;
        }

        public int ThreadCount
        {
            get;
            set;
        }

        public string City
        {
            get;
            set;
        }
    }
}
